install.packages("openxlsx")
install.packages("readr")  
library(openxlsx)
library(readr)
write_csv(result, "result.csv")
write.xlsx(result, "result.xlsx")
write_tsv(result, "result.txt")
